{% extends "base.html" %}

{% block title %} 联系梦凡 {% endblock %}
{% block body %}
    <div class="blog">
        <div class="container">
            <div class="row">
                <div class="col-xs-12 col-sm-6 col-md-8">
                    <div class="page-header">
                        <iframe src="{{ blog.Plan_content_html }}" marginheight="0" marginwidth="0" frameborder="0"
                                scrolling="no" width="900" height=100% id="iframepage" name="iframepage"
                                onLoad="iFrameHeight()">

                        </iframe>

                        <script type="text/javascript" language="javascript">

                            function iFrameHeight() {

                                var ifm = document.getElementById("iframepage");

                                var subWeb = document.frames ? document.frames["iframepage"].document :

                                    ifm.contentDocument;

                                if (ifm != null && subWeb != null) {

                                    ifm.height = subWeb.body.scrollHeight;

                                }

                            }

                        </script>
                    </div>

                </div>
            </div>
        </div>
    </div>


{% endblock %}
